import React from 'react';
import InputItem from "antd-mobile/es/input-item";

const NumberPicker = (props) => {
  const { clear,...restProps } = props;

  return (
    <InputItem
      {...{...restProps,clear }}
      type="number"
    />
  );
};

NumberPicker.defaultProps = {
  clear: false,
};

export default NumberPicker;
